package com.ruoyi.rva.util;

public interface RvaConstants {

    /**
     * 登录用户的key，用于Velocity表达式中
     */
    String LOGIN_USER = "rvaLoginUser";

    String DATE_UTILS = "rvaDateUtils";

    String UTILS = "rvaUtils";

    String PINYIN_UTILS = "rvaPinyinUtils";

    /**
     * 登录用户的Velocity表达式
     */
    String EXPRESSION_LOGIN_USER = String.format("${%s.id}", LOGIN_USER);

    /**
     * 当前时间的Velocity表达式
     */
    String EXPRESSION_NOW = String.format("${%s.now}", DATE_UTILS);

    String PARAM_ORDER_BY = "orderByList";

    String MSG_FORMAT = "%s格式不正确，请参考：%s";

    String MSG_PARSE = "数据解析出错：%s";

    String MSG_REQUIRED = "%s不允许为空！";

    String PROP_KEY_ID = "keyPropId";

    String PROP_KEY_VALUE = "keyPropValue";

    String PROP_NAME_ID = "namePropId";

    String PROP_NAME_VALUE = "namePropValue";
}
